package com.gaohe.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gaohe.pojo.Card;
import com.gaohe.pojo.Classes;
import com.gaohe.pojo.User;
import com.gaohe.pojo.UserCard;

import java.util.List;

public interface UserService extends IService<User> {


    List<Classes> findbyIdtoClass(Long id);

    List<UserCard> findByIdtoCards(Long id);

    Boolean saveByCardId(Long cardId, User user);

    List<Classes> findByIdtoClass(Long id);

    Boolean getSelectedCard(Long userId, Long cardId);
}
